﻿namespace OutLook.Model.Infrastructure
{
    /// <summary>
    /// Solution constans
    /// </summary>
    public static class Constants
    {
        #region User constants

        public const int MAX_LOGIN_LENGTH = 20;

        public const int MIN_LOGIN_LENGTH = 4;

        public const int MAX_FIRST_NAME_LENGTH = 50;

        public const int MAX_LAST_NAME_LENGTH = 50;

        public const int MAX_PASSWORD_LENGTH = 20;

        public const int MIN_PASSWORD_LENGTH = 6;

        public const int MAX_EMAIL_LENGTH = 100;

        public const int MAX_PHONE_LENGTH = 100;

        public const string EMAIL_REGULAR_EXPRESSION = @"^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$";

        #endregion

        public const int NUMBER_ROUND = 5;

        public const string ROW_NUMBER = "№";

        public const string CHARGE_NAME = "Charge Names";

        public const string CHARGE_WEIGHT = "Weight (tons)";

        public const string CHARGE_Z = "Z";

        public const string CHARGE_WET = "Wet";

        public const string CHARGE_VOLATILES = "Volatiles";

        public const string DIALOG_FILTER = "XML Files|*.XML";

        public const string OPEN_DIALOG_TITLE = "Open an XML File";

        public const string SAVE_DIALOG_TITLE = "Save an XML File";

        public static readonly string[] COKE = new string[] { "Coke", "Кокс" };

        public static readonly string[] ACOKE = new string[] { "ACoke", "АКокс" };

        public static readonly string[] CONTAINS_FE = new string[] { "Fe", "Femet", "FeO" };

        public const string TONS = "Tons";

        public const string PERCENTAGE = "%";

        public const string DIV = "/";

        public const string PLUS = "+";

        public const string OPEN_BUSCKET = "(";

        public const string CLOSE_BUSCKET = ")";

        public const string WEIGHT_TYPE = "Weight Type";

        public const string ELEMENT_S = "S";

        public const string CHARGE_START_A = "A";

        public const string ELEMENT_FE = "Fe";

        public const string ELEMENT_FE2O3 = "Fe2O3";

        public const string ELEMENT_FEMET = "Femet";

        public const string ELEMENT_FEO = "FeO";

        public const string ELEMENT_Ca = "Ca";

        public const string ELEMENT_CaO = "CaO";

        public const string ELEMENT_MgO = "MgO";

        public const string ELEMENT_Al2O3 = "Al2O3";

        public const string ELEMENT_SiO2 = "SiO2";

        public const string De = "De";

        public const string Ro = "Ro";

        public const double CH4PG = 98.058;

        public const double C2H6PG = 0.657;

        public const double C3H8PG = 0.227;

        public const double C4H10PG = 0.081;

        public const double C5H12PG = 0.015;

        public const double C6H14PG = 0.002;

        public const double C7H16PG = 0;

        public const double CO2PG = 0.066;

        public const double H2OPG = 0;

        public const string PERCENTAGE_IN_BUSCKETS = "(%)";

        public const string ORE_CAPACITY = "Ore Capacity";
    }
}
